package com.neusoft.service.impl;

import com.neusoft.dao.UmsAdminDao;
import com.neusoft.entity.UmsAdmin;
import com.neusoft.service.UmsAdminService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 后台用户表(UmsAdmin)表服务实现类
 *
 * @author makejava
 * @since 2020-11-02 20:13:31
 */
@Service("umsAdminService")
public class UmsAdminServiceImpl implements UmsAdminService {

    @Override
    public UmsAdmin queryById(Long id) {
        System.out.println("queryById");
        UmsAdmin bean = new UmsAdmin();
        bean.setId(id);
        bean.setUsername("hahadfdfs");
        bean.setPassword("1233333");
        return bean;
    }

    @Override
    public List<UmsAdmin> queryAllByLimit(int offset, int limit) {
        System.out.println("queryAllByLimit");
        return null;
    }

    @Override
    public UmsAdmin insert(UmsAdmin umsAdmin) {
        System.out.println("insert");
        return null;
    }

    @Override
    public UmsAdmin update(UmsAdmin umsAdmin) {
        System.out.println("update");
        return null;
    }

    @Override
    public boolean deleteById(Long id) {
        System.out.println("deleteById");
        return false;
    }
}